<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showpayrecord.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <body>
    	<table border="1px solid red;" width="100%">
    		<tr>
    			<td colspan="8"><font style="color: red; font-size: 30px; font-weight: bold;">总金额:${total}</font></td>
    		</tr>
    		<tr align="center">
    			<td>id</td>
    			<td>购买年限</td>
    			<td>授权人数</td>
    			<td>购买时间</td>
    			<td>总金额</td>
    			<td>总人数</td>
    			<td>openid</td>
    			<td>小区地址</td>
    		</tr>
    		<c:forEach var="v" items="${list}">
	    		<tr align="center">
	    			<td>${v.payid}</td>
	    			<td>${v.year}</td>
	    			<td>${v.number}</td>
	    			<td>${v.time}</td>
	    			<td><font style="color: red; font-size: 20px; font-weight: bold;" >${v.moeny}</font></td>
	    			<td>${v.total}</td>
	    			<td>${v.userid}</td>
	    			<td>${v.address}</td>
	    		</tr>
    		</c:forEach>
    	</table>
  </body>
</html>
